<template>
<!--项目管理-->
<div>
	<div>
		<el-button>查询</el-button>
		<el-button>新增</el-button>
		<el-input>查询条件</el-input>
	</div>
	<div>
		<el-dialog title="添加项目" :visible.sync="addProjectVisible" @close="clearAddform()">
      <div>
			<el-form label-width="80px">
				<el-form-item label="编号">  
				</el-form-item>
				<el-input clearable  v-model="addProjectForm.infoNum"></el-input>
				<el-form-item label="项目名称">
				</el-form-item>
				<el-input clearable v-model="addProjectForm.infoName" type="textarea"></el-input>
				<el-form-item label="项目简介">
				</el-form-item>
				<el-input clearable v-model="addProjectForm.infoDesc" type="textarea"></el-input>
			</el-form>
		</div>
      <div slot="footer" class="dialog-footer">
        <el-button @click="clearAddform">重 置</el-button>
        <el-button type="primary" @click="addProject">提 交</el-button>
      </div>
		</el-dialog>
	</div>
</div>
</template>

<script>
export default {
  name: "project",
  data(){
    return{
		addProjectForm:{
			projectNum:null,
			projectName:null,
			projectDesc:null
		},
      addProjectVisible: false
    }
  },
  methods: {
	clearAddform(){
		this.addProjectForm={
			projectNum:null,
			projectName:null,
			projectDesc:null
		}
	}
  },
  created(){
    this.loadMovies();
  }
}
</script>

<style scoped>

</style>